package com.example.video.video_server.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.video.video_server.entity.VideoCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.video.video_server.entity.dto.VideoCategoryDto;
import com.example.video.video_server.entity.vo.VideoCategoryVo;

import java.util.List;

/**
 * <p>
 * 视频类别表 服务类
 * </p>
 *
 * @author yj
 */
public interface IVideoCategoryService extends IService<VideoCategory> {

    List<VideoCategoryVo> getCategoryVoList(VideoCategory videoCategory);

    Page getPaginationList(Page page, VideoCategory videoCategory);

    boolean add(VideoCategoryDto videoCategory);

    boolean updateCategory(VideoCategoryDto videoCategory);

    boolean del(Integer id);

    VideoCategoryVo getDetails(Integer id);

}
